package ooday01.demo;

public class Car01 {
    String breand;
    String score;
    double price;
    Car01(){
    }
    Car01(String breand, String score, double price){
        this.breand=breand;
        this.score=score;
        this.price=price;
    }
    void start(){
        System.out.println(breand+"牌子的"+score+"颜色的"+price+"块钱的车子启动了");
    }
    void run(){
        System.out.println(breand+"牌子的"+score+"颜色的"+price+"块钱的车子开始跑了" );
    }
    void stop(){
        System.out.println(breand+"牌子的"+score+"颜色的"+price+"块钱的车子停止了");
    }
}
